package com.mate.cloud.auth.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mate.cloud.auth.domain.UmsResource;
import com.mate.cloud.auth.mapper.UmsAdminRoleMapper;
import com.mate.cloud.auth.service.UmsResourceService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class UmsResourceServiceImpl extends ServiceImpl<UmsAdminRoleMapper,UmsResource> implements UmsResourceService {

    @Resource
    private UmsAdminRoleMapper umsAdminRoleMapper;
    @Override
    public List<UmsResource> getResourceList(Integer adminId) {
        return umsAdminRoleMapper.getResourceList(adminId);
    }
}
